using System;

namespace Headspring.Training.Core.Services.Impl
{
	public class StubbedCalendar : ICalendar
	{
		private readonly DateTime _currentTime;

		public StubbedCalendar(DateTime currentTime)
		{
			_currentTime = currentTime;
		}

		public DateTime GetCurrentTime()
		{
			return _currentTime;
		}
	}
}